package cn.learn.athena.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zlj
 * @Date 2018/10/29
 * @des
 */
public class UserAccount extends BaseModel {
    /**
     * 账号
     */
    private String accountNo;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 银行账户
     */
    private Integer bankNo;

    /**
     * 支付密码
     */
    private String payPassword;

    /**
     * 获取 账号 tb_user_account.account_no
     * @return 账号
     */
    public String getAccountNo() {
        return accountNo;
    }

    /**
     * 设置 账号 tb_user_account.account_no
     * @param accountNo 账号
     */
    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo == null ? null : accountNo.trim();
    }

    /**
     * 获取 用户id tb_user_account.user_id
     * @return 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置 用户id tb_user_account.user_id
     * @param userId 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取 余额 tb_user_account.balance
     * @return 余额
     */
    public BigDecimal getBalance() {
        return balance;
    }

    /**
     * 设置 余额 tb_user_account.balance
     * @param balance 余额
     */
    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    /**
     * 获取 银行账户 tb_user_account.bank_no
     * @return 银行账户
     */
    public Integer getBankNo() {
        return bankNo;
    }

    /**
     * 设置 银行账户 tb_user_account.bank_no
     * @param bankNo 银行账户
     */
    public void setBankNo(Integer bankNo) {
        this.bankNo = bankNo;
    }

    /**
     * 获取 支付密码 tb_user_account.pay_password
     * @return 支付密码
     */
    public String getPayPassword() {
        return payPassword;
    }

    /**
     * 设置 支付密码 tb_user_account.pay_password
     * @param payPassword 支付密码
     */
    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword == null ? null : payPassword.trim();
    }

}
